package com.meritdata.cloud.data.service.development.service;

import com.meritdata.cloud.data.base.Page;
import com.meritdata.cloud.data.service.development.model.DataApiCategory;

import java.util.List;

public interface IDataApiCategoryService {
	
	public void add(DataApiCategory category);

	Page page(Page<DataApiCategory> page);

	List<DataApiCategory> all();

    boolean save(DataApiCategory category);

	DataApiCategory get(Long id);

	boolean delete(Long id);

	boolean udpate(DataApiCategory category);

	List<DataApiCategory> tree();
}
